projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e18806e
)
(temp_output_buffer_setup): Bind inhibit-read-only and
author
Kenichi Handa
<handa@m17n.org>
Mon, 10 May 2004 12:09:08 +0000
(12:09 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 10 May 2004 12:09:08 +0000
(12:09 +0000)
inhibit-modification-hooks to t temporarily before calling
Ferase_buffer.
src/print.c
patch
|
blob
|
history
diff --git
a/src/print.c
b/src/print.c
index 7548bc75661ad92232dbb5bfae5e57072d3f9e61..e729b468fd137865b60be0938d20a0af4bcddbfe 100644
(file)
--- a/
src/print.c
+++ b/
src/print.c
@@
-601,6
+601,8
@@
temp_output_buffer_setup (bufname)
eassert (current_buffer->overlays_after == NULL);
current_buffer->enable_multibyte_characters
= buffer_defaults.enable_multibyte_characters;
+ specbind (Qinhibit_read_only, Qt);
+ specbind (Qinhibit_modification_hooks, Qt);
Ferase_buffer ();
XSETBUFFER (buf, current_buffer);